//
//  ImgCell.m
//  笔记1
//
//  Created by  on 2022/11/5.
//

#import "ImgCell.h"
@interface ImgCell()

@end
@implementation ImgCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.masksToBounds = NO;
    self.layer.shadowColor = [UIColor colorHex:@"#9B9B9B"].CGColor;
    self.layer.shadowOffset = CGSizeMake(0, 3);
    self.layer.shadowRadius = 20;
    self.layer.cornerRadius = 20;
    self.layer.shadowOpacity = 1;
}
- (IBAction)actionForBtn:(UIButton *)sender {
    if (self.block) {
        self.block();
    }
}

@end
